data:
	mkdir --parents data

	git clone https://github.com/spdx/license-list-data.git data

        # Remove everything in data/ except .nt files
	find data/ -mindepth 1 -maxdepth 1 ! \( -name "rdfnt" \) -exec rm -rf {} \;

clean:
	rm -rf data/ *.nt *.hdt *.hdt.index.v*

.PHONY: clean
